mod_proxy issue - intermittent 502 response
am 26.11.2009 18:18:46 von Cristian Pini --_000_4DBC2201FA1D2E4299DC5FDC726ADEC8ED537C54BEgserverhqfs it_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Hi,
I'm running Apache/2.0.52 as a reverse proxy on a RHE4 box, the backend app=
server is on a separate machine again RHE4, running Apache/2.0.52 and mod_=
perl 1.99_16.
There are intermittent 502 responses being generated by the proxy although =
a page refresh generally resolves the issue, we are trying to get a configu=
ration of 2 RP boxes in front of 3 mod_perl app servers into production but=
will need to understand / resolve the issue of these intermittent 502 resp=
onses first.
[Thu Nov 26 15:35:09 2009] [error] [client 88.96.233.45] proxy: error readi=
ng status line from remote server xxx.xxxxxx.co.uk, referer: http://xxx.xxx=
x.co.uk/mens/casual/casual/71/brand-/all-/start-
[Thu Nov 26 15:35:09 2009] [error] [client 88.96.233.45] proxy: Error readi=
ng from remote server returned by /mens/smart/smart/70/brand-/all-/start-, =
referer: http://xxxx.xxxxxxx.co.uk/mens/casual/casual/71/brand-/all-/ start-
Can someone shed further light on what the problem is and how to resolve it=
pls, I'm happy to send virtual host confs if someone wishes to dig little =
deeper. Note at this point I'm using mod_rewrite [P] to proxy the requests =
to the app server rather than using ProxyPass as we have many rewrites in t=
he conf.
I've googled around and have seen that others have observed similar scenari=
os when using this setup in Apache 2.0 but have not seen anything specific =
about a resolution or path to resolution.
Your help gratefully appreciated.
Kind regards,
Cris
Cristian Pini
Foresite Business Solutions Ltd
Tel: 020 8540 0040
Direct: 020 8545 6813
http://www.fsite.com
--_000_4DBC2201FA1D2E4299DC5FDC726ADEC8ED537C54BEgserverhqfs it_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
ice:smarttags" xmlns=3D"http://www.w3.org/TR/REC-html40">
0.0pt;
font-family:Arial'>Hi,
0.0pt;
font-family:Arial'>
0.0pt;
font-family:Arial'>I’m running Apache/2.0.52 as a reverse proxy on a =
RHE4
box, the backend app server is on a separate machine again RHE4, running
Apache/2.0.52 and mod_perl 1.99_16.
0.0pt;
font-family:Arial'>
0.0pt;
font-family:Arial'>There are intermittent 502 responses being generated by =
the
proxy although a page refresh generally resolves the issue, we are trying t=
o
get a configuration of 2 RP boxes in front of 3 mod_perl app servers into
production but will need to understand / resolve the issue of these
intermittent 502 responses first.
0.0pt;
font-family:Arial'>
e:10.0pt;
font-family:Arial;font-style:italic'>[Thu Nov 26 15:35:09 2009] [error] [cl=
ient
88.96.233.45] proxy: error reading status line from remote server
xxx.xxxxxx.co.uk, referer: http://xxx.xxxx.co.uk/mens/casual/casual/71/bran=
d-/all-/start-
e:10.0pt;
font-family:Arial;font-style:italic'>[Thu Nov 26 15:35:09 2009] [error] [cl=
ient
88.96.233.45] proxy: Error reading from remote server returned by
/mens/smart/smart/70/brand-/all-/start-, referer: http://xxxx.xxxxxxx.co.uk=
/mens/casual/casual/71/brand-/all-/start-
0.0pt;
font-family:Arial'>
0.0pt;
font-family:Arial'>Can someone shed further light on what the problem is an=
d
how to resolve it pls, I’m happy to send virtual host confs if someon=
e
wishes to dig little deeper. Note at this point I’m using mod_rewrite=
[P]
to proxy the requests to the app server rather than using ProxyPass as we h=
ave
many rewrites in the conf.
0.0pt;
font-family:Arial'>
0.0pt;
font-family:Arial'>I’ve googled around and have seen that others have
observed similar scenarios when using this setup in Apache 2.0 but have not
seen anything specific about a resolution or path to resolution.
0.0pt;
font-family:Arial'>
0.0pt;
font-family:Arial'>Your help gratefully appreciated.
0.0pt;
font-family:Arial'>
0.0pt;
font-family:Arial'>Kind regards,
0.0pt;
font-family:Arial'>
0.0pt;
font-family:Arial'>Cris
0.0pt;
font-family:Arial'>
face=3DArial>
r;
font-weight:bold'>Cristian Pini
=3D'font-size:
10.0pt;font-family:Arial;color:silver'>Foresite Business Solutions Ltd
n>
color=3Dsilver>
=3D'font-size:
10.0pt;font-family:Arial;color:silver'>Tel: 020 8540 0040
=3D'font-size:
10.0pt;font-family:Arial;color:silver'>Direct: 020 8545 6813<=
font
color=3Dsilver>
=3D'font-size:
10.0pt;font-family:Arial;color:silver'>http://www.fsite.com
color=3Dsilver>
'font-size:
12.0pt'>
--_000_4DBC2201FA1D2E4299DC5FDC726ADEC8ED537C54BEgserverhqfs it_--